package com.search.sevice;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hmall.common.dto.PageDTO;
import com.search.pojo.Item;
import com.search.pojo.ItemDoc;
import com.search.pojo.RequestParams;

import java.util.List;
import java.util.Map;

/**
 * @author zx
 * @date 2021/11/8 8:52
 */
public interface ISearchService extends IService<Item> {
    List<String> finadAll(String key);

    Map<String, List<String>> filter(RequestParams param);

    PageDTO<ItemDoc> search(RequestParams params);

    void insertById(Long id);

    void deleteById(Long id);
}
